from rest_framework import serializers
from .models import ProjectType, Project, ProjectVote, ProjectAttachment

class ProjectTypeSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProjectType
        fields = '__all__'

class ProjectSerializer(serializers.ModelSerializer):
    class Meta:
        model = Project
        fields = '__all__'

class ProjectVoteSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProjectVote
        fields = '__all__'

class ProjectAttachmentSerializer(serializers.ModelSerializer):
    class Meta:
        model = ProjectAttachment
        fields = '__all__' 